﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace OnlineMovieTicket.WebForms.BuyTicket
{
    public partial class PurchaseDetail : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            String credNum=Request.Params.Get("creditNum");
            credNum = credNum.Substring(credNum.Length - 4);
            credNum = "****-****-****-" + credNum;
            lblCredit.Text = credNum;
            lblNric.Text = Request.Params.Get("nric");
            lblAmount.Text = Request.Params.Get("amount");
            lblEmail.Text = Request.Params.Get("email");
            lblPhone.Text = Request.Params.Get("phone");
            lblSeatNum.Text = Request.Params.Get("seatNum");
        }
    }
}